home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 316 / install / make-ccc.com < prev    next >
Encoding:
Text File  |  1988-10-20  |  651 b   |  30 lines

  1. $!
  2. $!    Build the GNU "C" pre-processor on VMS
  3. $!
  4. $ if "''p1'" .eqs. "LINK" then goto Link
  5. $ gcc/debug cccp.c
  6. $ t1:='f$search("CEXP.C")'
  7. $ if "''t1'" .eqs. "" then goto 10$
  8. $ t1:='f$file_attributes("CEXP.Y","RDT")'
  9. $ t1:='f$cvtime(t1)'
  10. $ t2:='f$file_attributes("CEXP.C","RDT")' 
  11. $ t2:='f$cvtime(t2)'
  12. $ if t1 .les. t2 then goto 20$
  13. $ 10$:
  14. $ bison cexp.y
  15. $ 20$:
  16. $!
  17. $ rename cexp_tab.c cexp.c
  18. $ gcc/debug cexp.c
  19. $ gcc/debug version.c
  20. $ Link:
  21. $ link/exe=gcc-cpp sys$input:/opt
  22. !
  23. !    Linker options file for linking the GNU "C" pre-processor
  24. !
  25. cccp,cexp,version,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  26. $!
  27. $!    Done
  28. $!
  29. $ exit
  30.